/*
 * URLClassLoader.java
 */

package xq.util;

import java.net.URL;
import java.net.URLStreamHandlerFactory;
import java.util.List;

/**
 *
 * @author Robert.P.Thornton
 */
public class URLClassLoader extends java.net.URLClassLoader {

	public URLClassLoader(URL[] urls, ClassLoader parent, URLStreamHandlerFactory factory) {
		super(urls, parent, factory);
	}

	public URLClassLoader(URL... urls) {
		super(urls);
	}

	public URLClassLoader(URL[] urls, ClassLoader parent) {
		super(urls, parent);
	}
	
	public URLClassLoader(List<URL> urls, ClassLoader parent, URLStreamHandlerFactory factory) {
		super(urls.toArray(new URL[urls.size()]), parent, factory);
	}

	public URLClassLoader(List<URL> urls) {
		super(urls.toArray(new URL[urls.size()]));
	}

	public URLClassLoader(List<URL> urls, ClassLoader parent) {
		super(urls.toArray(new URL[urls.size()]), parent);
	}
}
